Skip to content

Conversation

NickeZ
Copy link
Collaborator

@NickeZ NickeZ commented Oct 1, 2025

No description provided.

@NickeZ NickeZ requested a review from benma October 1, 2025 10:15
@NickeZ NickeZ force-pushed the maint/simplify-gesture-event-emitting branch from c5ce0c5 to 4c72f70 Compare October 1, 2025 10:21
@benma
Copy link
Collaborator

benma commented Oct 13, 2025

Please rebase if still relevant.

@NickeZ NickeZ force-pushed the maint/simplify-gesture-event-emitting branch from 4c72f70 to 136f814 Compare October 13, 2025 12:10
@NickeZ
Copy link
Collaborator Author

NickeZ commented Oct 13, 2025

Please rebase if still relevant.

done

Comment on lines 266 to 233
_emit_continuous_slide_event();
_emit_slide_release_event();
_emit_long_tap_event();
_emit_short_tap_event();
_emit_continuous_tap_event();
for (int location = 0; location < TOUCH_NUM_SLIDERS; location++) {
for (int event_idx = 0; event_idx < EVENT_ENUM_MAX; event_idx++) {
if (_emit_event_detect_fns[event_idx](location)) {
_gesture_emit_event(event_idx, location);
}
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The order of events is changed. Could that have an impact somewhere?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fair point, refactored so that it is functionally equivalent. please rereview :)

@NickeZ NickeZ force-pushed the maint/simplify-gesture-event-emitting branch from 136f814 to e3fb25f Compare October 13, 2025 13:51
@NickeZ NickeZ force-pushed the maint/simplify-gesture-event-emitting branch from e3fb25f to fd7f416 Compare October 13, 2025 13:53
Copy link
Collaborator

@benma benma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@NickeZ NickeZ closed this Oct 14, 2025
@NickeZ NickeZ deleted the maint/simplify-gesture-event-emitting branch October 14, 2025 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants